package mode;

//import java.awt.image.BufferedImage;

public class Heroji extends Flyobject{
    //英雄机属性
	int hp=5;
	public Heroji(){
		img=App.getImg("/img/feiji1.png");
		x=100;
		y=450;
		h=img.getHeight();
		w=img.getWidth();
	}
	public void moveToMouse(int mx,int my){
		x = mx-w/2;
		y = my-h/2;
	}

}
